package cn.tedu.project.oa.sys.department.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
@Data
public class EditDepartPara {

    @NotNull(message = "部门ID不能为空")
    @ApiModelProperty(value = "部门ID")
    private Long id;

    @ApiModelProperty(value = "部门名称")
    private String departmentName;

    @ApiModelProperty(value = "父级部门ID")
    private Long parentId;

    @Size(max = 200, message = "部门描述长度必须在200之内")
    @ApiModelProperty(value = "部门描述")
    private String description;


}
